package com.itheima.mapper;

import com.itheima.domain.User;

import java.util.List;

public interface UserMapper {
    //查询全部
    public abstract List<User> findAll();

    //根据id查询
    public abstract User findById(Integer id);

    //新增数据
    public abstract Integer insert(User stu);

    //修改数据
    public abstract Integer update(User stu);

    //删除数据
    public abstract Integer delete(Integer id);
}
